package webapi.storage;

import java.io.Closeable;
import java.io.IOException;
import java.nio.channels.ReadableByteChannel;


public interface WriteOnlyDataChunk extends Closeable {
    org.springframework.core.io.Resource getResource() throws IOException;
    long transferFrom(ReadableByteChannel src, long position, long count) throws IOException;
}
